package com.rui.patterns.facade;

/**
 * @author : [锐神NO.3]
 * @version : [v1.0]
 * @className : Client
 * @createTime : [2022/2/22 17:39]
 * @description : [描述该类的功能]
 */

public class Client {
    public static void main(String[] args) {
        //创建一个智能音箱对象
        SmartAppliancesFacade facade = new SmartAppliancesFacade();

        //控制家电
        facade.say("打开家电");

        System.out.println("------------------");

        facade.say("关闭家电");
    }
}
